<script>
	$(function() {
		$(".article_container a.button.password").click(function() {
			loadDialogForm($(this).attr("href"), null, '비밀번호 수정', 400, 260, null, 'password');
			return false;
		});
		
		$(".article_footer a.icon_button.modify").click(function() {	
			href = $(this).attr("href");
			title = '{result->m_id} 회원정보 수정';
			
			
			loadDialogForm(href, null, title, 800, 500, null, 'modify');
			
			return false;
		});
		
		$(".article_footer a.icon_button.delete").click(function() {
			if(confirm('{result->m_id} 회원을 탈퇴시겠습니까? \n탈퇴시 해당 회원의 자료는 모두 삭제됩니다.')) {
				
				$.ajax({
					 url : $(this).attr("href")
					,success:function(data){
						if(data.code == mesg.success) {
							sagapo.section_refresh(data.return_url);
						} else {
							alert(data.msg);
						}
						
						return false;
					}
				});
				
			} 
			
			return false;
		});
	});
</script>

<div class="article_header">
	<h4>{result->m_name} 회원정보</h4>
	<div class="close">
		<button type="button">닫기</button>
	</div>
</div>

<div class="article">
	<table class="table">
		<colgroup>
			<col class="add" />
			<col />
		</colgroup>
		<tbody>
			<tr>
				<th scope="row" class="txt_right br">아이디</th>
				<td>{result->m_id}</td>
			</tr>
			<tr class="odd">
				<th scope="row" class="txt_right br">이름</th>
				<td>{result->m_name}</td>
			</tr>
			<tr>
				<th scope="row" class="txt_right br">이메일</th>
				<td>
					<a href="mailto:{result->m_email}">{result->m_email}</a>
				</td>
			</tr>
			<tr class="odd">
				<th scope="row" class="txt_right br">이메일 수신</th>
				<td>{result->sendemail}</td>
			</tr>
			<tr>
				<th scope="row" class="txt_right br">비밀번호</th>
				<td>
					<a href="{CFG->PATH->WWWADMIN}/member/passwordChange/{result->m_seq}" class="button password">비밀번호 변경</a>		
				</td>
			</tr>
			<tr>
				<th scope="row" class="txt_right br">인증</th>
				<td>{result->auth}</td>
			</tr>
			<tr class="odd">
				<th scope="row" class="txt_right br">서명</th>
				<td>
					{result->sign}
				</td>
			</tr>
			<tr>
				<th scope="row" class="txt_right br">사진</th>
				<td>{result->m_id}</td>
			</tr>
			<tr class="odd">
				<th scope="row" class="txt_right br">가입일</th>
				<td>{result->m_cdate}</td>
			</tr>
			<tr>
				<th scope="row" class="txt_right br">수정일</th>
				<td>
					{result->mdate}
				</td>
			</tr>
		</tbody>
	</table>
</div>

<div class="article_footer">
	<div class="btn_left">
		<a href="{result->reloadurl}" class="icon_button refresh" title="새로고침">새로고침</a>
	</div>
	<!-- 
	<div class="next_prev">
		<a href="#" class="button prev_article">이전글</a>
		<a href="#" class="button next_article">다음글</a>
	</div>
	-->
	
	<div class="btn_right">
		<a href="{CFG->PATH->WWWADMIN}/member/modify/{result->m_seq}" class="icon_button modify" title="수정">수정</a>
		{? result->m_delete == 1}
		<a href="{CFG->PATH->WWWADMIN}/member/doDelete/{result->m_seq}" class="icon_button delete" title="삭제">삭제</a>
		{/}
	</div>
	 
</div>